package com.zhiyou100.entity;

import lombok.*;

import java.io.Serializable;

/**
 * 妻子 实体类
 *
 * @author yang
 * @version 1.0.0
 * @date 2020-09-19 11:16
 */

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
public class Wife implements Serializable {
    private Integer wid;
    private String wname;
    private Husband husband;

    @Override
    public String toString() {
        return "Wife{" +
                "wid=" + wid +
                ", wname='" + wname + '\'' +
                '}';
    }
}
